<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      xmlns:py="http://genshi.edgewall.org/"
      py:strip="">
<xi:include href="sitetemplate.html"><xi:fallback/></xi:include>

<head py:match="head" py:attrs="select('@*')">
    <meta content="text/html; charset=UTF-8" http-equiv="content-type"
          py:replace="''" />
    <title py:replace="''">Your title goes here</title>
    <meta py:replace="select('*')" />
    <style type="text/css">
        #pageLogin
        {
            font-size: 10px;
            font-family: verdana;
            text-align: right;
        }
        div.flash {
          margin: 0.5em auto 0.5em auto;
          padding: 15px 10px 15px 55px;
          width: 450px;
          background: #ffff00;
          border: 1px solid #cce;
        }

    </style>
    <style type="text/css" media="screen">
@import "/static/css/style.css";
</style>
  </head>

<body py:match="body" py:attrs="select('@*')">
    <div id="pageLogin"
         py:if="tg.config('identity.on', False) and not value_of('logging_in')"
         py:choose="">
      <span py:when="tg.identity.anonymous">
        <a href="/login">Login</a>
      </span>
      <span py:otherwise="">
        Welcome ${tg.identity.user.display_name}.
        <a href="/logout">Logout</a>
      </span>
    </div>


<div id="header">&nbsp;</div>
<div id="main_content">
  <div id="status_block">Track Projects and Tasks to Completion</div>
  <!--h1>Take steps to dive right in:</h1-->
  <div id="sidebar">

	<h2>Create:</h2>
	<ul class="links">
      <li><a href="/task_form/new/">Task</a></li>
      <li><a href="/project_form/new/">Project</a></li>
    </ul>

    <h2>View:</h2>
    <ul class="links">
      <li><a href="/project">Project</a></li>
      <li><a href="/context/">Context</a></li>
      <li><a href="/task_by_date/">Creation Date</a></li>
	  <li><a href="/all_tasks/">All Tasks</a></li>
	  <li><a href="/projects_without_tasks/">Projects without tasks</a></li>
    </ul>
	
	<h2>Setup:</h2>
    <ul class="links">
      <li><a href="/edit_contexts">Add/Edit Contexts</a></li>
    </ul>
  </div>


    <div py:if="tg_flash" class="flash" py:content="tg_flash"></div>
    <div py:replace="select('*|text()')" />

</div>
	<!-- End of main_content -->
<div id="footer"> <img src="/static/images/under_the_hood_blue.png" />

</div>
</body>

</html>
